package mryao.tree;

public class main {
    public static void main(String[] arg){
        BSTTree tree = new BSTTree(9);
        tree.insert(3);
        tree.insert(1);
        tree.insert(0);
        tree.insert(4);
        tree.insert(5);
        tree.insert(2);
        tree.insert(32);
        tree.insert(35);
        tree.insert(31);
        tree.treePrint();
        tree.delete(9);
        tree.treePrint();
//        tree.delete(3);
//        tree.treePrint();
//        tree.delete(4);
//        tree.treePrint();
//        tree.delete(9);
//        tree.treePrint();
//        tree.breadthFirstTraverse();


//        binaryTree bTree = new binaryTree(0);
//        bTree.createTree();
//        bTree.preOrder();
//        bTree.inOrder();
//        bTree.postOrder();
//        bTree.nonInOrder();
//        bTree.nonPreOrder();
//        bTree.nonPostOrder();
    }
}
